<admintpl file="header" />
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:U('Plan/index')}">每日报表</a></li>
    </ul>
    <form class="well form-search" method="post" action="{:U('DayReport/index')}">
        时间：
        <input type="text" name="start_time" class="js-date" value="{$formget.start_time|default=''}" style="width: 120px;" autocomplete="off">-
        <input type="text" class="js-date" name="end_time" value="{$formget.end_time|default=''}" style="width: 120px;" autocomplete="off"> &nbsp; &nbsp;
        <input type="submit" class="btn btn-primary" value="搜索" />
        <a class="btn btn-danger" href="{:U('DayReport/index')}">清空</a>
    </form>
    日期：<a href="#">{:date('Y-m-d',time())}</a>
    <form method="post" class="js-ajax-form">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th>ID</th>
                <th>计划编号</th>
                <th>计划名称</th>
                <th>班组</th>
                <th>开始日期</th>
                <th>计划完成日期</th>
                <th>计划数量</th>
                <th>当前完成数量</th>
                <th>完成比例</th>
                <th>剩余数量</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>1</td>
                <td>A1111</td>
                <td>凯迪拉克项目组装计划</td>
                <td>安装组</td>
                <td>2017-03-01</td>
                <td>2017-03-03</td>
                <td>3</td>
                <td>2</td>
                <td>66.6%</td>
                <td>1</td>
            </tr>
            <tr>
                <td>1</td>
                <td>A1111</td>
                <td>凯迪拉克项目组装计划</td>
                <td>安装组</td>
                <td>2017-03-01</td>
                <td>2017-03-03</td>
                <td>3</td>
                <td>2</td>
                <td>66.6%</td>
                <td>1</td>
            </tr>
            <foreach name="list" item="vo">
                <tr>
                    <td>1</td>
                    <td>A1111</td>
                    <td>安装部</td>
                    <td>安装轮胎</td>
                    <td>安装轮胎咋样咋样那噶</td>
                    <td>
                        <a href="{:U('Plan/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">编辑</a>
                        <a href="{:U('Plan/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">删除</a>
                    </td>
                </tr>
            </foreach>
            </tbody>
        </table>
        <div class="pagination">{$page}</div>
    </form>
</div>
<script src="__PUBLIC__/js/common.js?"></script>
</body>
</html>